Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BannerCallout: VR Implementation Changes #3804

Merged
merged 14 commits into from
Oct 16, 2024

Conversation

AlbertCarreras
Copy link
Contributor

@AlbertCarreras AlbertCarreras commented Oct 16, 2024

BannerCallout: VR Implementation Changes

FIGMA

CLASSIC VISUAL REFRESH SIZE
Brave Browser - BannerCallout - Gestalt 2024-10-16 at 2 58 33 AM Brave Browser - BannerCallout - Gestalt 2024-10-16 at 2 57 12 AM sm
Screenshot by Dropbox Capture Screenshot by Dropbox Capture md
Screenshot by Dropbox Capture Screenshot by Dropbox Capture lg

@AlbertCarreras AlbertCarreras requested a review from a team as a code owner October 16, 2024 00:32
Copy link

netlify bot commented Oct 16, 2024

Deploy Preview for gestalt ready!

Name Link
🔨 Latest commit a5b008e
🔍 Latest deploy log https://app.netlify.com/sites/gestalt/deploys/670f1330c349390008e0ce3f
😎 Deploy Preview https://deploy-preview-3804--gestalt.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@AlbertCarreras AlbertCarreras added the minor release Minor release label Oct 16, 2024
@AlbertCarreras AlbertCarreras enabled auto-merge (squash) October 16, 2024 15:51
Copy link
Contributor

@eniomoura eniomoura left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@AlbertCarreras AlbertCarreras merged commit c1be5ee into pinterest:master Oct 16, 2024
13 checks passed
Copy link
Contributor

@rlingineni rlingineni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

comments

color={backgroundColor}
dangerouslySetInlineStyle={{ __style: largePadding }}
display="none"
lgDisplay="block"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the only thing that's changing? This seems like a lot of dupe

Can we move into a function or something called getResponsiveSize(size:'sm|'lg|'md')

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure, but also this approach may have React do 3X the work because the components would still be loaded into the virtual dom I think - since it's hidden by CSS. I think ideally this could be 3 separate smaller components, or abstracted at a different level

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor release Minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants